package com.information.manage.maintenance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.information.manage.maintenance.common.utils.MaintListGetter;
import com.information.manage.maintenance.model.vo.MaintenancePlanVo;
import org.apache.ibatis.annotations.Mapper;
import com.information.manage.maintenance.model.entity.MaintGaoyadl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (MaintGaoyadl)表数据库访问层
 *
 * @author makejava
 * @since 2025-01-23 17:13:01
 */
@Mapper
public interface MaintGaoyadlMapper extends BaseMapper<MaintGaoyadl>, MaintListGetter {
    Page<MaintenancePlanVo> getMaintenancePlan(Page<MaintenancePlanVo> page, @Param("eqId") Integer eqId);

    default Page<MaintenancePlanVo> execute(Page<MaintenancePlanVo> page,Integer eqId) {
        return getMaintenancePlan(page,eqId);
    }
}



